﻿using System;

namespace 模板模式
{
    class Program
    {
        static void Main(string[] args)
        {
            AbstractClass ca = new ConcreteClassA();
            AbstractClass cb = new ConcreteClassB();

            ca.PrimitiveOperation1();

            cb.PrimitiveOperation2();
        }
    }
}
